﻿<%@ Page Title="" Language="C#" MasterPageFile="~/DeveloperSite.Master" AutoEventWireup="true" 
    CodeBehind="ApprovedProjectReport.aspx.cs" Inherits="UNDP_Projects.CO.ApprovedProjectReport" 
    MaintainScrollPositionOnPostback="true" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">

    <style type="text/css">
        .style1
        {
            width: 40%;
            text-align:left;
            white-space: nowrap;
        }
        .rowstyle1
        {
            padding: .5em 0 0 1.5em;
        }
        .rowstyle2
        {
            padding: 0 0 .5em 1.5em;
            font-size:8pt;
        }
        .rowstyle3
        {
            padding: 0 0 0 1.5em;
        }
    </style>

    <script type="text/javascript" language="javascript">
        function onUpdating() {
            // get the update progress div
            var updateProgressDiv = $get('updateProgressDiv');
            //var updateProgressDiv = document.getElementsByClassName('updateProgressDiv')[0];

            // make it visible
            updateProgressDiv.style.display = '';

            // set the progress element to this position
            //Sys.UI.DomElement.setLocation(updateProgressDiv, 310, 510);
        }
        function onUpdated() {
            // get the update progress div
            var updateProgressDiv = $get('updateProgressDiv');
            //var updateProgressDiv = document.getElementsByClassName('updateProgressDiv')[0];

            // make it invisible
            updateProgressDiv.style.display = 'none';
        }
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<%--=========================================================================================================--%>

    <asp:EntityDataSource ID="RegionDataSource" runat="server" 
        ConnectionString="name=UNDPEntities" DefaultContainerName="UNDPEntities" 
        EnableFlattening="False" EntitySetName="regions" 
        Select="it.[region_id], it.[region1]">
    </asp:EntityDataSource>

    <asp:EntityDataSource ID="IndicatorStatusDataSource" runat="server" 
        ConnectionString="name=UNDPEntities" DefaultContainerName="UNDPEntities" 
        EnableFlattening="False" EntitySetName="indicator_status" 
        Select="it.[indicator_status_id], it.[indicator_status1]">
    </asp:EntityDataSource>

    <asp:EntityDataSource ID="CpdOutputIndicatorDataSource" runat="server" 
        ConnectionString="name=UNDPEntities" DefaultContainerName="UNDPEntities" 
        EnableFlattening="False" EntitySetName="cpd_output_indicators" 
        Select="it.[cpd_output_indicator_id]">
    </asp:EntityDataSource>

    <asp:EntityDataSource ID="CpdOutputDataSource" runat="server" 
        ConnectionString="name=UNDPEntities" DefaultContainerName="UNDPEntities" 
        EnableFlattening="False" EntitySetName="cpd_outputs" 
        Select="it.[cpd_output_id]">
    </asp:EntityDataSource>

    <asp:EntityDataSource ID="DonorDataSource" runat="server" 
        ConnectionString="name=UNDPEntities" DefaultContainerName="UNDPEntities" 
        EnableFlattening="False" EntitySetName="donors" Select="it.[donor1]">
    </asp:EntityDataSource>

    <asp:EntityDataSource ID="CpdResultsDataSource" runat="server" 
        ConnectionString="name=UNDPEntities" DefaultContainerName="UNDPEntities" 
        EnableFlattening="False" EntitySetName="cpd_output_results" 
        Include="region, indicator_status, cpd_output_indicators" 
        AutoGenerateWhereClause="true" EnableDelete="true" 
        EnableInsert="true" EnableUpdate="true">
        <WhereParameters>
            <%--<asp:Parameter DefaultValue="7" Name="project_id" Type="Int64" />
            <asp:Parameter DefaultValue="1" Name="year_id" Type="Int64" />
            <asp:Parameter DefaultValue="3" Name="report_period_id" Type="Int64" />--%>
            <asp:SessionParameter Name="project_id" SessionField="App_Project" />
            <asp:SessionParameter Name="year_id" SessionField="App_Year" />
            <asp:SessionParameter Name="report_period_id" SessionField="App_ReportPeriod" />
        </WhereParameters>
    </asp:EntityDataSource>

    <asp:EntityDataSource ID="NonCpdResultsDataSource" runat="server" 
        ConnectionString="name=UNDPEntities" DefaultContainerName="UNDPEntities" 
        EnableFlattening="False" EntitySetName="non_cpd_output_indicators" 
        Include="region, indicator_status"
        AutoGenerateWhereClause="True" EnableDelete="True" 
        EnableInsert="True" EnableUpdate="True">
        <WhereParameters>
            <%--<asp:Parameter DefaultValue="7" Name="project_id" Type="Int64" />
            <asp:Parameter DefaultValue="1" Name="year_id" Type="Int64" />
            <asp:Parameter DefaultValue="3" Name="report_period_id" Type="Int64" />--%>
            <asp:SessionParameter Name="project_id" SessionField="App_Project" />
            <asp:SessionParameter Name="year_id" SessionField="App_Year" />
            <asp:SessionParameter Name="report_period_id" SessionField="App_ReportPeriod" />
        </WhereParameters>
    </asp:EntityDataSource>

    <asp:EntityDataSource ID="IPDataSource" runat="server" 
        ConnectionString="name=UNDPEntities" DefaultContainerName="UNDPEntities" 
        EnableFlattening="False" EntitySetName="internal_process_indicators" 
        Include="region, indicator_status"
        AutoGenerateWhereClause="True" EnableDelete="True" 
        EnableInsert="True" EnableUpdate="True">
        <WhereParameters>
            <%--<asp:Parameter DefaultValue="7" Name="project_id" Type="Int64" />
            <asp:Parameter DefaultValue="1" Name="year_id" Type="Int64" />
            <asp:Parameter DefaultValue="3" Name="report_period_id" Type="Int64" />--%>
            <asp:SessionParameter Name="project_id" SessionField="App_Project" />
            <asp:SessionParameter Name="year_id" SessionField="App_Year" />
            <asp:SessionParameter Name="report_period_id" SessionField="App_ReportPeriod" />
        </WhereParameters>
    </asp:EntityDataSource>

<%--=========================================================================================================--%>
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnablePartialRendering="true" 
        LoadScriptsBeforeUI="false">
    </asp:ToolkitScriptManager>
<%--======================================================================================================== --%>
    <div style="height:7em;">
       <div style="float:left;">
            <asp:Label ID="ErrorLabel" runat="server" Text="" Visible="false"></asp:Label>
            <asp:Label ID="ContextLabel" runat="server" Text="COUNTRY OFFICE APPROVAL" CssClass="ContentHead"></asp:Label><br />
            <asp:Label ID="ProjectLabel" runat="server" Text="" CssClass="ContentHead"></asp:Label><br />
            <asp:Label ID="YearLabel" runat="server" Text="" CssClass="ContentHead"></asp:Label>
            <asp:Label ID="ReportPeriodLabel" runat="server" Text="" CssClass="ContentHead"></asp:Label><br />
        </div>
        <div style="float:right;">
            <asp:Table ID="Table1" runat="server" CssClass="style1">
                <%--<asp:TableRow>
                    <asp:TableCell>
                        <asp:Label ID="Label18" runat="server" Text="List of Donors"></asp:Label>
                    </asp:TableCell>
                    <asp:TableCell CssClass="rowstyle1">
                        <asp:ListBox ID="DonorsListBox" runat="server"></asp:ListBox>
                    </asp:TableCell>    
                </asp:TableRow>--%>
                <asp:TableRow>
                    <asp:TableCell>
                        <asp:Label ID="Label19" runat="server" Text="Prepared by:"></asp:Label>
                        <br />
                        <div style="padding-top:2px; text-align:center;">
                            <asp:Button ID="EditorButton" runat="server" Text="Save" 
                                OnClick="EditorButton_Click" />
                        </div>
                    </asp:TableCell>
                    <asp:TableCell CssClass="rowstyle1">
                        <asp:TextBox ID="AuthorTextBox" runat="server" TextMode="MultiLine" 
                            Height="50px" Width="200px" CssClass="MText"></asp:TextBox>
                    </asp:TableCell>
                </asp:TableRow>
                <asp:TableRow>
                    <asp:TableCell></asp:TableCell>
                    <asp:TableCell CssClass="rowstyle2">
                        <asp:Label ID="Label40" runat="server" ForeColor="#0055cc">
                            *Please ensure all contributers are included.
                        </asp:Label>
                    </asp:TableCell>
                </asp:TableRow>
            </asp:Table>
        </div>
    </div>

<%--======================================================================================================== --%>
    <asp:Accordion ID="ReportsAccordion" runat="server" SelectedIndex="-1" RequireOpenedPane="false" 
        AutoSize="None" FadeTransitions="false" FramesPerSecond="20" HeaderCssClass="accordionHeader" 
     ContentCssClass="accordionContent" HeaderSelectedCssClass="accordionHeaderSelected"
      SuppressHeaderPostbacks="true">
      <Panes>

      <asp:AccordionPane ID="ProjectDataPane" runat="server">
        <Header>Project Administration</Header>
        <Content>
            <div style="float:left;">
                <asp:Table ID="T1" runat="server" CssClass="style1">
                    <asp:TableRow>
                        <asp:TableCell>
                            <asp:Label ID="DonorLabel" runat="server" Text="Donors:"></asp:Label>
                        </asp:TableCell>
                        <asp:TableCell CssClass="rowstyle3">
                            <asp:ListBox ID="DonorListBox" runat="server" Rows="6" Width="282px" 
                                SelectionMode="Multiple" DataSourceID="DonorDataSource" 
                                DataTextField="donor1" DataValueField="donor1"></asp:ListBox>
                        </asp:TableCell>
                    </asp:TableRow>
                    <asp:TableRow>
                        <asp:TableCell></asp:TableCell>
                        <asp:TableCell CssClass="rowstyle3">
                            <asp:Button ID="SaveDonorButton" runat="server" Text="Save" OnClick="SaveDonorButton_Click" />
                        </asp:TableCell>
                    </asp:TableRow>
                </asp:Table>
            </div>
            <div style="float:right;">
                <asp:Table ID="Table6" runat="server">
                    <asp:TableRow>
                        <asp:TableCell>
                            <asp:Label ID="Label198" runat="server" Text="List of Donors"></asp:Label>
                        </asp:TableCell>
                        <asp:TableCell CssClass="rowstyle1">
                            <asp:ListBox ID="DonorsListBox" runat="server" Rows="6" Width="282px"></asp:ListBox>
                        </asp:TableCell>    
                    </asp:TableRow>
                </asp:Table>
            </div>
        </Content>
      </asp:AccordionPane>
<%--======================================================================================================== --%>
        <asp:AccordionPane ID="EndYearProjectSummaryPane" runat="server">
            <Header>End Year Project Summary</Header>
            <Content>
                <asp:UpdatePanel ID="EndYrProjectSummaryUpdatePanel" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                        <div style="text-align:left; padding:0 6em 0 6em;">
                        <asp:Label ID="Label95" runat="server" Text="Instructions" Font-Italic="true" 
                        CssClass="GuidingQuestions" ForeColor="#0055cc"></asp:Label>
                        <br /><br />
                        <asp:Label ID="Label96" runat="server" CssClass="GuidingQuestions">
                        This section has been added to give an overall assessment on the project and how all the 
                        results and activity highlights (to be mentioned later) contribute to the 
                        achievement of the project Outcomes. The projects are expected to use this space to:
                        <ol>
                            <li>Review the collective achievement of the project i.e. how multiple activities contribute to achievement of Outputs.</li>
                            <li>The projects can use the Somali Compact Outcomes, Country Programme Document Outcomes, Project Document Outcomes and/or Donor agreements against which to measure progress.</li>
                        </ol>
                        </asp:Label>
                        <br /><br />
                        </div>
                        <br />
                        <asp:TextBox ID="EndYrSummaryTextBox" runat="server" TextMode="MultiLine" CssClass="MText" 
                            Height="600px" Width="900px" onKeyUp="javascript:Count(this,5100,this.form.SumCounter);" 
                            onChange="javascript:Count(this,5100,this.form.SumCounter);"></asp:TextBox>
                        <br />
                        <div style="float:left; padding:.3em 0 0 6em;">
                        <asp:Label ID="Label97" runat="server" CssClass="GuidingQuestions">
                            You have <input readonly="readonly" type="text" name="SumCounter" 
                            size="4" maxlength="4" value="<%= (5100 - EndYrSummaryTextBox.Text.Length) %>"/> 
                            characters remaining.
                        </asp:Label>
                        </div>
                        <div style="float:right; padding:.3em 6em 0 0;">
                            <asp:Button ID="EndYrSummaryButton" runat="server" Text="Save" 
                                OnClick="EndYrSummaryButton_Click" />
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </Content>
        </asp:AccordionPane>
<%--======================================================================================================== --%>
        <asp:AccordionPane ID="ContextualAnalysisPane" runat="server">
            <Header>Contextual Analysis</Header>
            <Content>

            <asp:UpdatePanel ID="ContextualUpdatePanel" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <div style="text-align:left; padding:0 6em 0 6em;">
                <asp:Label ID="Label56" runat="server" Text="Instructions" Font-Italic="true" 
                CssClass="GuidingQuestions" ForeColor="#0055cc"></asp:Label>
                <br /><br />
                <asp:Label ID="Label54" runat="server" CssClass="GuidingQuestions">
                Use the following ‘Political, Economic, Social, Technological, Legal, and Environmental 
                (PESTLE) analysis’ outline to assist in structuring the narrative –ensure the analysis 
                provided is relevant to the projects parameters (not all factors are necessary for 
                each project). Issues to consider when developing the narrative include:
                </asp:Label>
                <br /><br />
                    <asp:Label ID="Label55" runat="server" CssClass="GuidingQuestions">
                    1. Political: What are the key political factors affecting project implementation? 
                    e.g. stability, rule of law, levels of bureaucracy, corruption, changes in the 
                    political environment, and policies etc.
                    <br />
                    2. Economic: What are the important economic factors affecting project implementation? 
                    e.g. economic growth, costs, income distribution, changes in the economic environment, 
                    taxation issues etc.
                    <br />
                    3. Social: What socio-cultural developments are affecting project implementation? 
                    e.g. press attitudes, public opinion, social attitudes, law changes affecting social 
                    factors, ethnic/religious factors etc.
                    <br />
                    4. Technological: What technological improvements are affecting project implementation? 
                    e.g. emerging technologies, infrastructure developments, research and development activity etc.
                    <br />
                    5. Legal: What current and impending legislation is affecting project implementation? e.g. 
                    changes in the legal environment linked to the project and its area of activity etc.
                    <br />
                    6. Environmental: What environmental issues are affecting project implementation? e.g. 
                    factors related, influenced or determined by the surrounding environment - 
                    this includes, but is not limited to weather, climate, geographical position, 
                    climate change, and even insurance etc.
                    </asp:Label>
                </div>
                <br />
                <div style="text-align:left; padding:.3em 0 0 6em;">
                    <asp:Label ID="Label46" runat="server" Text="Somaliland" CssClass="GuidingQuestions"></asp:Label>
                </div>
                <asp:TextBox ID="SLCATextBox" runat="server" TextMode="MultiLine" 
                    Height="160px" Width="900px" CssClass="MText" 
                    onKeyUp="javascript:Count(this,1000,this.form.SLCACounter);" 
                    onChange="javascript:Count(this,1000,this.form.SLCACounter);"></asp:TextBox>
                <br />
                <div style="float:left; padding:.3em 0 0 6em;">
                    <asp:Label ID="Label47" runat="server" CssClass="GuidingQuestions">
                        You have <input readonly="readonly" type="text" name="SLCACounter" 
                        size="4" maxlength="4" value="<%= (1000 - SLCATextBox.Text.Length) %>" /> 
                        characters remaining.
                    </asp:Label>
                </div>
                <div style="float:right; padding:.3em 6em 0 0;">
                    <asp:Button ID="SLCAButton" runat="server" Text="Save" OnClick="SLCAButton_Click" />
                </div>
                <br /><br /><br />
                <div style="text-align:left; padding:.3em 0 0 6em;">
                    <asp:Label ID="Label48" runat="server" Text="Puntland"></asp:Label>
                </div>
                <asp:TextBox ID="PLCATextBox" runat="server" TextMode="MultiLine" 
                    Height="160px" Width="900px" CssClass="MText" 
                    onKeyUp="javascript:Count(this,1000,this.form.PLCACounter);" 
                    onChange="javascript:Count(this,1000,this.form.PLCACounter);"></asp:TextBox>
                <br />
                <div style="float:left; padding:.3em 0 0 6em;">
                    <asp:Label ID="Label49" runat="server" CssClass="GuidingQuestions">
                        You have <input readonly="readonly" type="text" name="PLCACounter" 
                        size="4" maxlength="4" value="<%= (1000 - PLCATextBox.Text.Length) %>" /> 
                        characters remaining.
                    </asp:Label>
                </div>
                <div style="float:right; padding:.3em 6em 0 0;">
                    <asp:Button ID="PLCAButton" runat="server" Text="Save" OnClick="PLCAButton_Click" />
                </div>
                <br /><br /><br />
                <div style="text-align:left; padding:.3em 0 0 6em;">
                    <asp:Label ID="Label50" runat="server" Text="Federal Level"></asp:Label>
                </div>
                <asp:TextBox ID="SCCATextBox" runat="server" TextMode="MultiLine" 
                    Height="160px" Width="900px" CssClass="MText" 
                    onKeyUp="javascript:Count(this,1000,this.form.SCCACounter);" 
                    onChange="javascript:Count(this,1000,this.form.SCCACounter);"></asp:TextBox>
                <br />
                <div style="float:left; padding:.3em 0 0 6em;">
                    <asp:Label ID="Label51" runat="server" CssClass="GuidingQuestions">
                        You have <input readonly="readonly" type="text" name="SCCACounter" 
                        size="4" maxlength="4" value="<%= (1000 - SCCATextBox.Text.Length) %>" /> 
                        characters remaining.
                    </asp:Label>
                </div>
                <div style="float:right; padding:.3em 6em 0 0;">
                    <asp:Button ID="SCCAButton" runat="server" Text="Save" OnClick="SCCAButton_Click" />
                </div>
                <br /><br />
            </ContentTemplate>
            </asp:UpdatePanel>

            </Content>
        </asp:AccordionPane>
<%--======================================================================================================== --%>
        <asp:AccordionPane ID="CDPOutputPane" runat="server">
            <Header>CPD Output Indicators</Header>
            <Content>

            <div style="text-align:left; padding:0 6em 0 6em;">
                
                <asp:Label ID="Label70" runat="server" Text="Instructions" Font-Italic="true" 
                CssClass="GuidingQuestions" ForeColor="#0055cc"></asp:Label>
                <br /><br />
                    <asp:Label ID="Label71" runat="server" CssClass="GuidingQuestions">
                    Please refer to the ‘Project Monitoring Plan’ for guidance on which indicators to 
                    report against for the reporting period
                    </asp:Label>
                    <br /><br />

                    <asp:Table ID="Table2" runat="server" CssClass="style1">
                        <asp:TableRow>
                            <asp:TableCell>
                                <asp:Label ID="Label5" runat="server" Text="Area"></asp:Label>
                            </asp:TableCell>
                            <asp:TableCell CssClass="rowstyle1">
                                <asp:DropDownList ID="CPDRegionList" runat="server"
                                    DataSourceID="RegionDataSource" DataTextField="region1" 
                                    DataValueField="region_id" Width="70px">
                                </asp:DropDownList>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell>
                                <asp:Label ID="Label4" runat="server" Text="CPD Output Indicator"></asp:Label>
                            </asp:TableCell>
                            <asp:TableCell CssClass="rowstyle1">
                                <asp:DropDownList ID="CpdOutputIndicatorList" runat="server"
                                    DataSourceID="CpdOutputIndicatorDataSource" 
                                    DataTextField="cpd_output_indicator_id"
                                    DataValueField="cpd_output_indicator_id" 
                                    Width="70px" CssClass="dropDown" 
                                    OnSelectedIndexChanged="CpdOutputIndicatorList_SelectedIndexChanged" 
                                    AutoPostBack="true">
                                </asp:DropDownList>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell></asp:TableCell>
                            <asp:TableCell CssClass="rowstyle1">
                                <asp:TextBox ID="TextBox6" runat="server" TextMode="MultiLine" ReadOnly="true" 
                                Height="40px" Width="750px" CssClass="MText"></asp:TextBox>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell>
                                <asp:Label ID="Label3" runat="server" Text="Status"></asp:Label>
                            </asp:TableCell>
                            <asp:TableCell CssClass="rowstyle1">
                                <asp:DropDownList ID="CpdStatusList" runat="server"
                                    DataSourceID="IndicatorStatusDataSource" DataTextField="indicator_status1"
                                    DataValueField="indicator_status_id" Width="70px">
                                </asp:DropDownList>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell></asp:TableCell>
                            <asp:TableCell CssClass="rowstyle3">
                                <asp:Label ID="Label72" runat="server" CssClass="GuidingQuestions">
                                Progress of results versus expected delivery:  
                                on track (Green), behind schedule (Yellow), 
                                postponed / delayed (Red)
                                </asp:Label>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell>
                                <asp:Label ID="Label2" runat="server" Text="Result"></asp:Label>
                            </asp:TableCell>
                            <asp:TableCell CssClass="rowstyle1">
                                <asp:TextBox ID="CpdOutputResultTextBox" runat="server" TextMode="MultiLine" 
                                    Height="35px" Width="750px" CssClass="MText" 
                                    onKeyUp="javascript:Count(this,300,this.form.counter8);" 
                                    onChange="javascript:Count(this,300,this.form.counter8);"></asp:TextBox>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell></asp:TableCell>
                            <asp:TableCell CssClass="rowstyle3">
                                <asp:Label ID="Label90" runat="server" CssClass="GuidingQuestions">
                                Provide brief remarks on the result e.g. targets / milestones achieved, 
                                constraints experienced, and / or other relevant 
                                information on delivery.
                                </asp:Label>
                                <br />
                                <asp:Label ID="Label73" runat="server" CssClass="GuidingQuestions">
                                Enter quantitative data in response to the indicator - 
                                where possible provide sex disaggregated statistics, 
                                using the format (F:820, M:1,000)
                                </asp:Label>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell></asp:TableCell>
                            <asp:TableCell CssClass="rowstyle3">
                                <asp:Label ID="Label30" runat="server" CssClass="GuidingQuestions">
                                    You have <input readonly="readonly" type="text" name="counter8" 
                                    size="2" maxlength="2" value="<%= (300 - CpdOutputResultTextBox.Text.Length) %>"/> 
                                    characters remaining.
                                </asp:Label>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell>
                                <asp:Label ID="Label1" runat="server" Text="Comment"></asp:Label>
                            </asp:TableCell>
                            <asp:TableCell CssClass="rowstyle1">
                                <asp:TextBox ID="CpdOutputCommentTextBox" runat="server" TextMode="MultiLine" 
                                    Height="50px" Width="750px" CssClass="MText" 
                                    onKeyUp="javascript:Count(this,300,this.form.counter9);" 
                                    onChange="javascript:Count(this,300,this.form.counter9);"></asp:TextBox>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell></asp:TableCell>
                            <asp:TableCell CssClass="rowstyle3">
                                <asp:Label ID="Label74" runat="server" CssClass="GuidingQuestions">
                                Any other comments.
                                </asp:Label>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell></asp:TableCell>
                            <asp:TableCell CssClass="rowstyle3">
                                <div style="float:left;">
                                    <asp:Label ID="Label31" runat="server" CssClass="GuidingQuestions">
                                        You have <input readonly="readonly" type="text" name="counter9" 
                                        size="2" maxlength="2" value="<%= (300 - CpdOutputCommentTextBox.Text.Length) %>"/> 
                                        characters remaining.
                                    </asp:Label>
                                </div>
                                <div style="float:right">
                                    <asp:Button ID="CPDOutputButton" runat="server" Text="Save" 
                                    OnClick="CPDOutputButton_Click" />
                                </div>
                            </asp:TableCell>
                        </asp:TableRow>
                    </asp:Table></div>
                    <br />
                <asp:UpdatePanel ID="CPDOutputUpdatePanel" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <p>
                    <%--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--%>
                    <asp:GridView ID="CpdGridView" runat="server" DataSourceID="CpdResultsDataSource" 
                    AutoGenerateColumns="False" CssClass="NewGrid" ShowFooter="true" 
                    DataKeyNames="cpd_output_result_id" OnRowDataBound="CpdGridView_RowDataBound" 
                    OnDataBound="CpdGridView_DataBound">
                    <%--OnRowUpdating="CpdGridView_RowUpdating">--%>
                    <AlternatingRowStyle CssClass="NewGridAlt" />
                    <Columns>
                        <asp:TemplateField HeaderText="AREA">
                        <EditItemTemplate>
                
                            <asp:DropDownList ID="DropDownList1" runat="server" 
                                DataSourceID="RegionDataSource" 
                                DataTextField="region1" DataValueField="region_id" 
                                SelectedValue='<%# Bind("region_id") %>'>
                            </asp:DropDownList>
                
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="RegionLabel" runat="server" Text='<%# Eval("region.region1") %>'></asp:Label>
                        </ItemTemplate>
                        </asp:TemplateField>
                    <asp:TemplateField HeaderText="INDICATOR" ItemStyle-HorizontalAlign="Left">
                    <EditItemTemplate>
                    
                        <asp:DropDownList ID="DropDownList2" runat="server" 
                            DataSourceID="CpdOutputIndicatorDataSource" 
                            DataTextField="cpd_output_indicator_id"
                            DataValueField="cpd_output_indicator_id" 
                            SelectedValue='<%#Bind("cpd_output_indicator_id") %>' 
                            Width="70px" CssClass="dropDown">
                        </asp:DropDownList>

                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label89" runat="server" Text='<%#Bind("cpd_output_indicator_id") %>'>
                        </asp:Label> - 
                        <asp:Label ID="Label1" runat="server" 
                            Text='<%# Eval("cpd_output_indicators.cpd_output_indicator_question") %>'></asp:Label>
                    </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="STATUS">
                    <EditItemTemplate>
                        
                        <asp:DropDownList ID="DropDownList3" runat="server" 
                            DataSourceID="IndicatorStatusDataSource" 
                            DataTextField="indicator_status1"
                            DataValueField="indicator_status_id" 
                            SelectedValue='<%# Bind("indicator_status_id") %>' >
                        </asp:DropDownList>

                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="StatusLabel" runat="server" Text='<%# Eval("indicator_status.indicator_status1") %>' Visible="false"></asp:Label>
                    </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="RESULT" ItemStyle-HorizontalAlign="Left">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("result") %>' 
                                TextMode="MultiLine" Height="70px" Width="300px" CssClass="MText" 
                                onKeyUp="javascript:Count(this,300);" 
                                onChange="javascript:Count(this,300);"></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label20" runat="server" Text='<%# Bind("result") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="COMMENT" ItemStyle-HorizontalAlign="Left">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("comment") %>' 
                                TextMode="MultiLine" Height="120px" Width="300px" CssClass="MText" 
                                onKeyUp="javascript:Count(this,300);" 
                                onChange="javascript:Count(this,300);"></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label2" runat="server" Text='<%# Bind("comment") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:CommandField ShowEditButton="true" ButtonType="Button" HeaderText="EDIT" />
                    <asp:CommandField ShowDeleteButton="true" ButtonType="Button" HeaderText="DELETE" />
                    </Columns>
                    <FooterStyle CssClass="NewGridFooter" />
                    </asp:GridView>
                    <%--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--%>
                </p>

                </ContentTemplate>
                </asp:UpdatePanel>

            </Content>
        </asp:AccordionPane>
<%--======================================================================================================== --%>
        <asp:AccordionPane ID="NonCPDOutputPane" runat="server">
            <Header>Non-CPD Output Indicators</Header>
            <Content>

            <div style="text-align:left; padding:0 6em 0 6em;">
            
                <asp:Label ID="Label75" runat="server" Text="Instructions" Font-Italic="true" 
                CssClass="GuidingQuestions" ForeColor="#0055cc"></asp:Label>
                <br /><br />
                    <asp:Label ID="Label76" runat="server" CssClass="GuidingQuestions">
                    Please refer to the ‘Project Monitoring Plan’ for guidance on which indicators to 
                    report against for the reporting period
                    </asp:Label>
                    <br /><br />

                    <asp:Table ID="Table3" runat="server" CssClass="style1">
                        <asp:TableRow>
                            <asp:TableCell>
                                <asp:Label ID="Label10" runat="server" Text="Area"></asp:Label>
                            </asp:TableCell>
                            <asp:TableCell CssClass="rowstyle1">
                                <asp:DropDownList ID="NonCPDRegionList" runat="server"
                                    DataSourceID="RegionDataSource" DataTextField="region1" 
                                    DataValueField="region_id" Width="70px">
                                </asp:DropDownList>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell>
                                <asp:Label ID="Label16" runat="server" Text="CPD Output"></asp:Label>
                            </asp:TableCell>
                            <asp:TableCell CssClass="rowstyle1">
                                <asp:DropDownList ID="CpdOutputList" runat="server"
                                    DataSourceID="CpdOutputDataSource" DataTextField="cpd_output_id"
                                    DataValueField="cpd_output_id" AppendDataBoundItems="true" 
                                    Width="70px" CssClass="dropDown" 
                                    OnSelectedIndexChanged="CpdOutputList_SelectedIndexChanged" 
                                    AutoPostBack="true">
                                    <asp:ListItem Text="NA" Value="" Selected="True" 
                                        Enabled="true"></asp:ListItem>
                                </asp:DropDownList>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell></asp:TableCell>
                            <asp:TableCell CssClass="rowstyle1">
                                <asp:TextBox ID="CPDOutputTextBox" runat="server" TextMode="MultiLine" ReadOnly="true" 
                                Height="45px" Width="720px" CssClass="MText"></asp:TextBox>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell>
                                <asp:Label ID="Label9" runat="server" Text="Non-CPD Output Indicator"></asp:Label>
                            </asp:TableCell>
                            <asp:TableCell CssClass="rowstyle1">
                                <asp:TextBox ID="NonCpdOutputQuestionTextBox" runat="server" TextMode="MultiLine" 
                                Height="45px" Width="720px" CssClass="MText"></asp:TextBox>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell></asp:TableCell>
                            <asp:TableCell CssClass="rowstyle3">
                                <asp:Label ID="Label80" runat="server" CssClass="GuidingQuestions">
                                    Please copy and paste the indicator from the ‘Project Monitoring Plan’
                                </asp:Label>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell>
                                <asp:Label ID="Label8" runat="server" Text="Status"></asp:Label>
                            </asp:TableCell>
                            <asp:TableCell CssClass="rowstyle1">
                                <asp:DropDownList ID="NonCpdStatusList" runat="server"
                                    DataSourceID="IndicatorStatusDataSource" DataTextField="indicator_status1"
                                    DataValueField="indicator_status_id" Width="70px">
                                </asp:DropDownList>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell></asp:TableCell>
                            <asp:TableCell CssClass="rowstyle3">
                                <asp:Label ID="Label77" runat="server" CssClass="GuidingQuestions">
                                Progress of results versus expected delivery:  
                                on track (Green), behind schedule (Yellow), 
                                postponed / delayed (Red)
                                </asp:Label>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell>
                                <asp:Label ID="Label7" runat="server" Text="Result"></asp:Label>
                            </asp:TableCell>
                            <asp:TableCell CssClass="rowstyle1">
                                <asp:TextBox ID="NonCpdOutputResultTextBox" runat="server" TextMode="MultiLine" 
                                    Height="35px" Width="720px" CssClass="MText" 
                                    onKeyUp="javascript:Count(this,300,this.form.counter10);" 
                                    onChange="javascript:Count(this,300,this.form.counter10);"></asp:TextBox>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell></asp:TableCell>
                            <asp:TableCell CssClass="rowstyle3">
                                <asp:Label ID="Label91" runat="server" CssClass="GuidingQuestions">
                                Provide brief remarks on the result e.g. targets / milestones achieved, 
                                constraints experienced, and / or other relevant 
                                information on delivery
                                </asp:Label>
                                <br />
                                <asp:Label ID="Label78" runat="server" CssClass="GuidingQuestions">
                                Enter quantitative data in response to the indicator - 
                                where possible provide sex disaggregated statistics, 
                                using the format (F:820, M:1,000)
                                </asp:Label>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell></asp:TableCell>
                            <asp:TableCell CssClass="rowstyle3">
                                <asp:Label ID="Label32" runat="server" CssClass="GuidingQuestions">
                                    You have <input readonly="readonly" type="text" name="counter10" 
                                    size="2" maxlength="2" value="<%= (300 - NonCpdOutputResultTextBox.Text.Length) %>"/> 
                                    characters remaining.
                                </asp:Label>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell>
                                <asp:Label ID="Label6" runat="server" Text="Comment"></asp:Label>
                            </asp:TableCell>
                            <asp:TableCell CssClass="rowstyle1">
                                <asp:TextBox ID="NonCpdOutputCommentTextBox" runat="server" TextMode="MultiLine" 
                                    Height="50px" Width="720px" CssClass="MText" 
                                    onKeyUp="javascript:Count(this,300,this.form.counter11);" 
                                    onChange="javascript:Count(this,300,this.form.counter11);"></asp:TextBox>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell></asp:TableCell>
                            <asp:TableCell CssClass="rowstyle3">
                                <asp:Label ID="Label79" runat="server" CssClass="GuidingQuestions">
                                Any other comments.
                                </asp:Label>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                            <asp:TableCell></asp:TableCell>
                            <asp:TableCell CssClass="rowstyle3">
                                <div style="float:left;">
                                    <asp:Label ID="Label33" runat="server" CssClass="GuidingQuestions">
                                        You have <input readonly="readonly" type="text" name="counter11" 
                                        size="2" maxlength="2" value="<%= (300 - NonCpdOutputCommentTextBox.Text.Length) %>"/> 
                                        characters remaining.
                                    </asp:Label>
                                </div>
                                <div style="float:right;">
                                    <asp:Button ID="NonCpdOutputButton" runat="server" Text="Save" 
                                    OnClick="NonCpdOutputButton_Click" />
                                </div>
                            </asp:TableCell>
                        </asp:TableRow>
                    </asp:Table></div>
                    <br />
                <asp:UpdatePanel ID="NonCpdOutputUpdatePanel" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <p>
                <%--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --%>
                    <asp:GridView ID="NonCpdGridView" runat="server" DataSourceID="NonCpdResultsDataSource" 
        AutoGenerateColumns="False" CssClass="NewGrid" ShowFooter="True" 
        DataKeyNames="non_cpd_outp_indicator_id" OnRowDataBound="NonCpdGridView_RowDataBound"
        OnDataBound="NonCpdGridView_DataBound">
        <AlternatingRowStyle CssClass="NewGridAlt" />
        <Columns>
            <asp:TemplateField HeaderText="AREA">
                <EditItemTemplate>
                
                    <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="RegionDataSource" 
                        DataTextField="region1" DataValueField="region_id" 
                        SelectedValue='<%# Bind("region_id") %>'>
                    </asp:DropDownList>
                
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="RegionLabel" runat="server" Text='<%# Eval("region.region1") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="OUTPUT">
                <EditItemTemplate>
                    
                    <asp:DropDownList ID="DropDownList2" runat="server" DataSourceID="CpdOutputDataSource" 
                        DataTextField="cpd_output_id"
                        DataValueField="cpd_output_id" 
                        SelectedValue='<%#Bind("cpd_output_id") %>' 
                        AppendDataBoundItems="true" 
                        Width="70px" CssClass="dropDown">
                        <asp:ListItem Text="NA" Value="" Enabled="true"></asp:ListItem>
                    </asp:DropDownList>

                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" 
                        Text='<%# Bind("cpd_output_id") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="INDICATOR" ItemStyle-HorizontalAlign="Left">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox2" runat="server" CssClass="MText" 
                        Text='<%# Bind("non_cpd_outp_indicator_question") %>' 
                        TextMode="MultiLine" Height="120px" Width="200px"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label3" runat="server" Text='<%# Bind("non_cpd_outp_indicator_question") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="STATUS">
                <EditItemTemplate>
                    
                    <asp:DropDownList ID="DropDownList3" runat="server" DataSourceID="IndicatorStatusDataSource" 
                        DataTextField="indicator_status1"
                        DataValueField="indicator_status_id" SelectedValue='<%# Bind("indicator_status_id") %>' >
                    </asp:DropDownList>

                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="StatusLabel" runat="server" 
                        Text='<%# Eval("indicator_status.indicator_status1") %>' Visible="false"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="RESULT" ItemStyle-HorizontalAlign="Left">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("result") %>' 
                        TextMode="MultiLine" Height="120px" Width="250px" CssClass="MText" 
                                onKeyUp="javascript:Count(this,300);" 
                                onChange="javascript:Count(this,300);"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label21" runat="server" Text='<%# Bind("result") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="COMMENT" ItemStyle-HorizontalAlign="Left">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("comment") %>' 
                        TextMode="MultiLine" Height="120px" Width="300px" CssClass="MText" 
                                onKeyUp="javascript:Count(this,300);" 
                                onChange="javascript:Count(this,300);"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label2" runat="server" Text='<%# Bind("comment") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:CommandField ShowEditButton="true" ButtonType="Button" HeaderText="EDIT" />
            <asp:CommandField ShowDeleteButton="true" ButtonType="Button" HeaderText="DELETE" />

        </Columns>
        <FooterStyle CssClass="NewGridFooter" />
    </asp:GridView>
    <%--+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= --%>
                </p>
                </ContentTemplate>
                </asp:UpdatePanel>
                


            </Content>
        </asp:AccordionPane>
<%--======================================================================================================== --%>
        <asp:AccordionPane ID="InternalProcessPane" runat="server">
            <Header>Internal Process Indicators</Header>
            <Content>

            <div style="text-align:left; padding:0 6em 0 6em;">
                
                 <asp:Label ID="Label81" runat="server" Text="Instructions" Font-Italic="true" 
                CssClass="GuidingQuestions" ForeColor="#0055cc"></asp:Label>
                <br /><br />
                    <asp:Label ID="Label82" runat="server" CssClass="GuidingQuestions">
                    Please refer to the ‘Project Monitoring Plan’ for guidance on which indicators to 
                    report against for the reporting period
                    </asp:Label>
                    <br /><br />

                <asp:Table ID="Table4" runat="server" CssClass="style1">
                    <asp:TableRow>
                        <asp:TableCell>
                            <asp:Label ID="Label15" runat="server" Text="Area"></asp:Label>
                        </asp:TableCell>
                        <asp:TableCell CssClass="rowstyle1">
                            <asp:DropDownList ID="IPRegionList" runat="server"
                                DataSourceID="RegionDataSource" DataTextField="region1" 
                                DataValueField="region_id" Width="70px">
                            </asp:DropDownList>
                        </asp:TableCell>
                    </asp:TableRow>
                    <asp:TableRow>
                        <asp:TableCell>
                            <asp:Label ID="Label14" runat="server" Text="Internal Process Indicator"></asp:Label>
                        </asp:TableCell>
                        <asp:TableCell CssClass="rowstyle1">
                            <asp:TextBox ID="InternalProcessQuestionTextBox" runat="server" TextMode="MultiLine" 
                            Height="40px" Width="705px" CssClass="MText"></asp:TextBox>
                        </asp:TableCell>
                    </asp:TableRow>
                    <asp:TableRow>
                        <asp:TableCell></asp:TableCell>
                        <asp:TableCell CssClass="rowstyle3">
                            <asp:Label ID="Label83" runat="server" CssClass="GuidingQuestions">
                                Please copy and paste the indicator from the ‘Project Monitoring Plan’
                            </asp:Label>
                        </asp:TableCell>
                    </asp:TableRow>
                    <asp:TableRow>
                        <asp:TableCell>
                            <asp:Label ID="Label13" runat="server" Text="Status"></asp:Label>
                        </asp:TableCell>
                        <asp:TableCell CssClass="rowstyle1">
                            <asp:DropDownList ID="IPStatusList" runat="server"
                                DataSourceID="IndicatorStatusDataSource" DataTextField="indicator_status1"
                                DataValueField="indicator_status_id" Width="70px">
                            </asp:DropDownList>
                        </asp:TableCell>
                    </asp:TableRow>
                    <asp:TableRow>
                        <asp:TableCell></asp:TableCell>
                        <asp:TableCell CssClass="rowstyle3">
                            <asp:Label ID="Label84" runat="server" CssClass="GuidingQuestions">
                            Progress of results versus expected delivery:  
                            on track (Green), behind schedule (Yellow), 
                            postponed / delayed (Red)
                            </asp:Label>
                        </asp:TableCell>
                    </asp:TableRow>
                    <asp:TableRow>
                        <asp:TableCell>
                            <asp:Label ID="Label12" runat="server" Text="Result"></asp:Label>
                        </asp:TableCell>
                        <asp:TableCell CssClass="rowstyle1">
                            <asp:TextBox ID="InternalProcessResultTextBox" runat="server" TextMode="MultiLine" 
                                Height="30px" Width="705px" CssClass="MText" 
                                onKeyUp="javascript:Count(this,300,this.form.counter12);" 
                                onChange="javascript:Count(this,300,this.form.counter12);"></asp:TextBox>
                        </asp:TableCell>
                    </asp:TableRow>
                    <asp:TableRow>
                        <asp:TableCell></asp:TableCell>
                        <asp:TableCell CssClass="rowstyle3">
                            <asp:Label ID="Label92" runat="server" CssClass="GuidingQuestions">
                            Provide brief remarks on the result e.g. targets / milestones achieved, 
                            constraints experienced, and / or other relevant 
                            information on delivery
                            </asp:Label>
                            <br />
                            <asp:Label ID="Label85" runat="server" CssClass="GuidingQuestions">
                                Enter quantitative data in response to the indicator - 
                                where possible provide sex disaggregated statistics, 
                                using the format (F:820, M:1,000)
                            </asp:Label>
                        </asp:TableCell>
                    </asp:TableRow>
                    <asp:TableRow>
                        <asp:TableCell></asp:TableCell>
                        <asp:TableCell CssClass="rowstyle3">
                            <asp:Label ID="Label34" runat="server" CssClass="GuidingQuestions">
                                You have <input readonly="readonly" type="text" name="counter12" 
                                size="2" maxlength="2" value="<%= (300 - InternalProcessResultTextBox.Text.Length) %>"/> 
                                characters remaining.
                            </asp:Label>
                        </asp:TableCell>
                    </asp:TableRow>
                    <asp:TableRow>
                        <asp:TableCell>
                            <asp:Label ID="Label11" runat="server" Text="Comment"></asp:Label>
                        </asp:TableCell>
                        <asp:TableCell CssClass="rowstyle1">
                            <asp:TextBox ID="InternalProcessCommentTextBox" runat="server" TextMode="MultiLine" 
                                Height="50px" Width="705px" CssClass="MText" 
                                onKeyUp="javascript:Count(this,300,this.form.counter13);" 
                                onChange="javascript:Count(this,300,this.form.counter13);"></asp:TextBox>
                        </asp:TableCell>
                    </asp:TableRow>
                    <asp:TableRow>
                        <asp:TableCell></asp:TableCell>
                        <asp:TableCell CssClass="rowstyle3">
                            <asp:Label ID="Label86" runat="server" CssClass="GuidingQuestions">
                            Any other comments.
                            </asp:Label>
                        </asp:TableCell>
                    </asp:TableRow>
                    <asp:TableRow>
                        <asp:TableCell></asp:TableCell>
                        <asp:TableCell CssClass="rowstyle3">
                            <div style="float:left;">
                                <asp:Label ID="Label35" runat="server" CssClass="GuidingQuestions">
                                    You have <input readonly="readonly" type="text" name="counter13" 
                                    size="2" maxlength="2" value="<%= (300 - InternalProcessCommentTextBox.Text.Length) %>"/> 
                                    characters remaining.
                                </asp:Label>
                            </div>
                            <div style="float:right;">
                                <asp:Button ID="InternalProcessButton" runat="server" Text="Save" 
                                OnClick="InternalProcessButton_Click" />
                            </div>
                        </asp:TableCell>
                    </asp:TableRow>
                </asp:Table></div>
                <br />
            <asp:UpdatePanel ID="InternalUpdatePanel" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <p>
                <%--+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--%>
                <asp:GridView ID="IPGridView" runat="server" DataSourceID="IPDataSource" 
        AutoGenerateColumns="False" CssClass="NewGrid" ShowFooter="True" 
        DataKeyNames="internal_process_indicator_id" OnRowDataBound="IPGridView_RowDataBound"
        OnDataBound="IPGridView_DataBound">
        <AlternatingRowStyle CssClass="NewGridAlt" />
        <Columns>
            <asp:TemplateField HeaderText="AREA">
                <EditItemTemplate>
                
                    <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="RegionDataSource" 
                        DataTextField="region1" DataValueField="region_id" 
                        SelectedValue='<%# Bind("region_id") %>'>
                    </asp:DropDownList>
                
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="RegionLabel" runat="server" Text='<%# Eval("region.region1") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="INDICATOR" ItemStyle-HorizontalAlign="Left">
                <EditItemTemplate>
                    
                    <asp:TextBox ID="IPQuestionTextBox" runat="server" CssClass="MText" 
                        Text='<%# Bind("internal_process_question") %>' 
                        TextMode="MultiLine" Height="120px" Width="250px"></asp:TextBox>

                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" 
                        Text='<%# Bind("internal_process_question") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            
            <asp:TemplateField HeaderText="STATUS">
                <EditItemTemplate>
                    
                    <asp:DropDownList ID="DropDownList3" runat="server" DataSourceID="IndicatorStatusDataSource" 
                        DataTextField="indicator_status1"
                        DataValueField="indicator_status_id" SelectedValue='<%# Bind("indicator_status_id") %>' >
                    </asp:DropDownList>

                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="StatusLabel" runat="server" Text='<%# Eval("indicator_status.indicator_status1") %>' Visible="false"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="RESULT" ItemStyle-HorizontalAlign="Left">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox5" runat="server" Text='<%# Bind("result") %>' 
                        TextMode="MultiLine" Height="70px" Width="250px" CssClass="MText" 
                                onKeyUp="javascript:Count(this,300);" 
                                onChange="javascript:Count(this,300);"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label22" runat="server" Text='<%# Bind("result") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="COMMENT" ItemStyle-HorizontalAlign="Left">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("comment") %>' 
                        TextMode="MultiLine" Height="120px" Width="300px" CssClass="MText" 
                                onKeyUp="javascript:Count(this,300);" 
                                onChange="javascript:Count(this,300);"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label2" runat="server" Text='<%# Bind("comment") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:CommandField ShowEditButton="true" ButtonType="Button" HeaderText="EDIT" />
            <asp:CommandField ShowDeleteButton="true" ButtonType="Button" HeaderText="DELETE" />

        </Columns>
        <FooterStyle CssClass="NewGridFooter" />
    </asp:GridView>
                <%--+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--%>
                </p>
                
            </ContentTemplate>
            </asp:UpdatePanel>

                
            </Content>
        </asp:AccordionPane>
<%--======================================================================================================== --%>
        <asp:AccordionPane ID="ActivityPane" runat="server">
            <Header>Activity Highlights</Header>
            <Content>
                <div style="text-align:left; padding:0 6em 0 6em;">
                <asp:Label ID="Label65" runat="server" Text="Instructions" Font-Italic="true" 
                CssClass="GuidingQuestions" ForeColor="#0055cc"></asp:Label>
                <br /><br />
                <asp:Label ID="Label66" runat="server" CssClass="GuidingQuestions">
                Provide a brief narrative summary of progress against the master work plan for 
                Federal Level, Puntland, and Somaliland for the reporting period.
                <br /><br />
                Note: It is not required to discuss all activities.
                <br /><br />
                Use the guiding questions to assist in structuring the narrative:
                </asp:Label>
                <br /><br />
                    <asp:Label ID="Label67" runat="server" CssClass="GuidingQuestions">
                    1. Progress made by specific activities.
                    <br />
                    2. Main factors of success as well as constraints that have been faced.
                    <br />
                    3. For changes to the project work plan explain what has changed? And the reasons for 
                    the change.
                    <br />
                    4. Sustainability initiatives, if any, for specific activities.
                    <br />
                    5. Where possible provide sex disaggregated statistics, using the format (F:820, M:1,000).
                    <br />
                    6. Other relevant elements.
                    </asp:Label>
                </div>
                <br />
                <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                        <div style="text-align:left; padding:.3em 0 0 6em;">
                            <asp:Label ID="Label18" runat="server" Text="Somaliland"></asp:Label>
                        </div>
                        <asp:TextBox ID="SLActivityTextBox" runat="server" TextMode="MultiLine" 
                            Height="140px" Width="900px" CssClass="MText" 
                            onKeyUp="javascript:Count(this,800,this.form.SLActivityCounter);" 
                            onChange="javascript:Count(this,800,this.form.SLActivityCounter);"></asp:TextBox>
                        <br />
                        <div style="float:left; padding:.3em 0 0 6em;">
                            <asp:Label ID="Label41" runat="server" CssClass="GuidingQuestions">
                                You have <input readonly="readonly" type="text" name="SLActivityCounter" 
                                size="1" maxlength="3" value="<%= (800 - SLActivityTextBox.Text.Length) %>" /> 
                                characters remaining.
                            </asp:Label>
                        </div>
                        <div style="float:right; padding:.3em 6em 0 0;">
                            <asp:Button ID="SLActivityButton" runat="server" Text="Save" OnClick="SLActivityButton_Click" />
                        </div>
                        <br /><br /><br />
                        <div style="text-align:left; padding:.3em 0 0 6em;">
                            <asp:Label ID="Label42" runat="server" Text="Puntland"></asp:Label>
                        </div>
                        <asp:TextBox ID="PLActivityTextbox" runat="server" TextMode="MultiLine" 
                            Height="140px" Width="900px" CssClass="MText" 
                            onKeyUp="javascript:Count(this,800,this.form.PLActivityCounter);" 
                            onChange="javascript:Count(this,800,this.form.PLActivityCounter);"></asp:TextBox>
                        <br />
                        <div style="float:left; padding:.3em 0 0 6em;">
                            <asp:Label ID="Label43" runat="server" CssClass="GuidingQuestions">
                                You have <input readonly="readonly" type="text" name="PLActivityCounter" 
                                size="1" maxlength="3" value="<%= (800 - PLActivityTextbox.Text.Length) %>" /> 
                                characters remaining.
                            </asp:Label>
                        </div>
                        <div style="float:right; padding:.3em 6em 0 0;">
                            <asp:Button ID="PLActivityButton" runat="server" Text="Save" OnClick="PLActivityButton_Click" />
                        </div>
                        <br /><br /><br />
                        <div style="text-align:left; padding:.3em 0 0 6em;">
                            <asp:Label ID="Label44" runat="server" Text="Federal Level"></asp:Label>
                        </div>
                        <asp:TextBox ID="SCActivityTextbox" runat="server" TextMode="MultiLine" 
                            Height="140px" Width="900px" CssClass="MText" 
                            onKeyUp="javascript:Count(this,800,this.form.SCActivityCounter);" 
                            onChange="javascript:Count(this,800,this.form.SCActivityCounter);"></asp:TextBox>
                        <br />
                        <div style="float:left; padding:.3em 0 0 6em;">
                            <asp:Label ID="Label45" runat="server" CssClass="GuidingQuestions">
                                You have <input readonly="readonly" type="text" name="SCActivityCounter" 
                                size="1" maxlength="3" value="<%= (800 - SCActivityTextbox.Text.Length) %>" /> 
                                characters remaining.
                            </asp:Label>
                        </div>
                        <div style="float:right; padding:.3em 6em 0 0;">
                            <asp:Button ID="SCActivityButton" runat="server" Text="Save" OnClick="SCActivityButton_Click" />
                        </div>
                        <br /><br />
                    </ContentTemplate>
                </asp:UpdatePanel>
            </Content>
        </asp:AccordionPane>
<%--======================================================================================================== --%>
        <asp:AccordionPane ID="PartnershipsPane" runat="server">
            <Header>Partnerships</Header>
            <Content>
                <div style="text-align:left; padding:0 6em 0 6em;">
                <asp:Label ID="Label59" runat="server" Text="Instructions" Font-Italic="true" 
                CssClass="GuidingQuestions" ForeColor="#0055cc"></asp:Label>
                <br /><br />
                <asp:Label ID="Label60" runat="server" CssClass="GuidingQuestions">
                Reporting on partnerships is intended, in part, to encourage a process of reflection on 
                experiences, identify actions that have worked well, or have not worked well, 
                to analyze how they may be consolidated or improved, and to begin to critically assess 
                how partnerships are developing.
                <br /><br />
                Note: This section is to include both internal (other UNDP projects and programs) and 
                external (public, private and civil society sector actors) partnerships.
                <br /><br />
                Use the guiding questions to assist in structuring the narrative:
                </asp:Label>
                <br /><br />
                    <asp:Label ID="Label61" runat="server" CssClass="GuidingQuestions">
                    1. Who are your key partners and what notable contributions are they making this quarter?
                    <br />
                    2. What synergies do you have with other projects?  Is there competition or overlap in project activities?
                    <br />
                    3. Comments on partners (government and/or civil society) capacity to implement activities.
                    <br />
                    4. How do you support partner’s capacity? 
                    <br />
                    5. Are there new partnerships emerging?  Are there partnerships that are no longer 
                    adding value to the project or providing benefits in the field?
                    </asp:Label>
                </div>
                <br />
                <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                        <asp:TextBox ID="PartnershipsTextBox" runat="server" TextMode="MultiLine" CssClass="MText" 
                            Height="200px" Width="900px" onKeyUp="javascript:Count(this,1500,this.form.counter2);" 
                            onChange="javascript:Count(this,1500,this.form.counter2);"></asp:TextBox>
                        <br />
                        <div style="float:left; padding:.3em 0 0 6em;">
                        <asp:Label ID="Label24" runat="server" CssClass="GuidingQuestions">
                            You have <input readonly="readonly" type="text" name="counter2" 
                            size="4" maxlength="4" value="<%= (1500 - PartnershipsTextBox.Text.Length) %>"/> 
                            characters remaining.
                        </asp:Label>
                        </div>
                        <div style="float:right; padding:.3em 6em 0 0;">
                            <asp:Button ID="PartnershipButton" runat="server" Text="Save" 
                                OnClick="PartnershipButton_Click" />
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </Content>
        </asp:AccordionPane>
<%--======================================================================================================== --%>
        <asp:AccordionPane ID="PeaceConflictPane" runat="server">
            <Header>Peace and Conflict</Header>
            <Content>
                <div style="text-align:left; padding:0 6em 0 6em;">
                <asp:Label ID="Label57" runat="server" Text="Instructions" Font-Italic="true" 
                CssClass="GuidingQuestions" ForeColor="#0055cc"></asp:Label>
                <br /><br />
                <asp:Label ID="Label38" runat="server" CssClass="GuidingQuestions">
                Use the guiding questions to assist in structuring the narrative – 
                where possible provide sex disaggregated statistics, using the format (F:820, M:1,000)
                </asp:Label>
                <br /><br />
                <asp:Label ID="Label39" runat="server" CssClass="GuidingQuestions">
                1. Identification of conflicts: Have any significant conflicts been identified 
                by the project during this period? If so please describe (e.g. type, actors, 
                location, any impact on the project, and any proposed action)
                <br />
                2. Interaction with conflict: Has the project had any positive or negative 
                impact on conflict during this period (i.e. positive examples tend to involve 
                improving connections between groups e.g. shared use of facilities, joint dialogues; 
                negative examples tend to involve worsening divisions and increasing insecurity)
                <br />
                3. Actions taken to minimise negative, and maximise positive interactions with 
                conflict: Has the project taken any steps to mitigate identified conflicts? 
                Examples may include: changing location, broadening beneficiary selection to 
                improve inclusivity, improving communication with beneficiaries and non-beneficiaries, 
                adopting more participatory planning methods
                </asp:Label>
                </div>
                <br />
                <asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                        <asp:TextBox ID="PeaceConflictTextBox" runat="server" TextMode="MultiLine" 
                            Height="160px" Width="900px" CssClass="MText" 
                            onKeyUp="javascript:Count(this,1000,this.form.counter6);" 
                            onChange="javascript:Count(this,1000,this.form.counter6);"></asp:TextBox>
                        <br />
                        <div style="float:left; padding:.3em 0 0 6em;">
                            <asp:Label ID="Label28" runat="server">
                                You have <input readonly="readonly" type="text" name="counter6" 
                                size="4" maxlength="4" value="<%= (1000 - PeaceConflictTextBox.Text.Length) %>"/> 
                                characters remaining.
                            </asp:Label>
                        </div>
                        <div style="float:right; padding:.3em 6em 0 0;">
                            <asp:Button ID="PeaceButton" runat="server" Text="Save" 
                                OnClick="PeaceButton_Click" />
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </Content>
        </asp:AccordionPane>
<%--======================================================================================================== --%>
        <asp:AccordionPane ID="GenderMainstreamPane" runat="server">
            <Header>Gender</Header>
            <Content>
                <div style="text-align:left; padding:0 6em 0 6em;">
                <asp:Label ID="Label58" runat="server" Text="Instructions" Font-Italic="true" 
                CssClass="GuidingQuestions" ForeColor="#0055cc"></asp:Label>
                <br /><br />
                <asp:Label ID="Label36" runat="server" CssClass="GuidingQuestions">
                Use the guiding questions to assist in structuring the narrative – 
                where possible provide sex disaggregated statistics, using the format (F:820, M:1,000)
                </asp:Label>
                <br /><br />
                <asp:Label ID="Label37" runat="server" CssClass="GuidingQuestions">
                1. What was the proportion of women and men’s participation in project activities 
                (as beneficiaries, decision-makers or change agents)?
                <br />
                2. Were specific activities or components targeted at women? What was the objective 
                and was this achieved? Specifically how did the activities impact on women’s empowerment 
                (confidence, self-esteem, capacity and self-organisation)‏?
                <br />
                3. Were there any actual or perceived impact(s) (negative or positive) on women 
                as a result of the project activities? How can the negative impacts be mitigated or eliminated and 
                positive impacts increased?
                <br />
                4. Are there any internal and/or external factors contributing to the 
                success/failure of gender mainstreaming within the project? 
                </asp:Label>
                </div>
                <br />
            <asp:UpdatePanel ID="GenderUpdatePanel" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <asp:TextBox ID="GenderMainstreamingTextBox" runat="server" TextMode="MultiLine" CssClass="MText" 
                    Height="160px" Width="900px" onKeyUp="javascript:Count(this,1000,this.form.counter1);" 
                    onChange="javascript:Count(this,1000,this.form.counter1);"></asp:TextBox>
                <br />
                <div style="float:left; padding:.3em 0 0 6em;">
                    <asp:Label ID="Label23" runat="server" CssClass="GuidingQuestions">
                        You have <input readonly="readonly" type="text" name="counter1" 
                        size="4" maxlength="4" value="<%= (1000 - GenderMainstreamingTextBox.Text.Length) %>"/> 
                        characters remaining.
                    </asp:Label>
                </div>
                <div style="float:right; padding:.3em 6em 0 0;">
                    <asp:Button ID="GenderButton" runat="server" Text="Save" 
                        OnClick="GenderButton_Click" />
                </div>
            </ContentTemplate>
            </asp:UpdatePanel>

            </Content>
        </asp:AccordionPane>
<%--======================================================================================================== --%>
        <asp:AccordionPane ID="UpcomingQuarterPane" runat="server">
            <Header>Upcoming Quarter</Header>
            <Content>
                <div style="text-align:left; padding:0 6em 0 6em;">
                    <asp:Label ID="Label68" runat="server" Text="Instructions" Font-Italic="true" 
                        CssClass="GuidingQuestions" ForeColor="#0055cc"></asp:Label>
                <br /><br />
                    <asp:Label ID="Label69" runat="server" CssClass="GuidingQuestions">
                    Use the guiding questions to assist in structuring the narrative:
                    <br /><br />
                    1. What events, activities, outputs, highlights, and / or milestones may 
                    be reached next quarter?
                    <br />
                    2. Briefly summarize any proposed changes to the work plan and / or approach
                    <br />
                    3. Identify any potential risks to implementation in the next quarter
                    </asp:Label>
                </div>
                <br />
                <asp:UpdatePanel ID="UpdatePanel4" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                        <asp:TextBox ID="UpcomingQuarterTextBox" runat="server" TextMode="MultiLine" 
                            Height="160px" Width="900px" CssClass="MText" 
                            onKeyUp="javascript:Count(this,1000,this.form.counter5);" 
                            onChange="javascript:Count(this,1000,this.form.counter5);"></asp:TextBox>
                        <br />
                        <div style="float:left; padding:.3em 0 0 6em;">
                        <asp:Label ID="Label27" runat="server" CssClass="GuidingQuestions">
                            You have <input readonly="readonly" type="text" name="counter5" 
                            size="4" maxlength="4" value="<%= (1000 - UpcomingQuarterTextBox.Text.Length) %>"/> 
                            characters remaining.
                        </asp:Label>
                        </div>
                        <div style="float:right; padding:.3em 6em 0 0;">
                            <asp:Button ID="QuarterButton" runat="server" Text="Save" 
                                OnClick="QuarterButton_Click" />
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </Content>
        </asp:AccordionPane>
<%--======================================================================================================== --%>
        <asp:AccordionPane ID="LessonsPane" runat="server">
            <Header>Reflections / Lessons</Header>
            <Content>
                <div style="text-align:left; padding:0 6em 0 6em;">
                <asp:Label ID="Label62" runat="server" Text="Instructions" Font-Italic="true" 
                        CssClass="GuidingQuestions" ForeColor="#0055cc"></asp:Label>
                <br /><br />
                <asp:Label ID="Label63" runat="server" CssClass="GuidingQuestions">
                Throughout the project life cycle, lessons are learned and opportunities for improvement 
                are discovered. As part of a continuous improvement process, documenting lessons learned 
                helps the team discover the root causes of problems that occurred and avoid those 
                problems in later project stages or future projects.
                <br /><br />
                Note: This section can include ‘key messages’ to be raised with donors.
                <br /><br />
                Use the guiding questions to assist in structuring the narrative:
                </asp:Label>
                <br /><br />
                    <asp:Label ID="Label64" runat="server" CssClass="GuidingQuestions">
                    1. What approaches worked well—or didn’t work well—either for the project or 
                    the project team?
                    <br />
                    2. What innovative approaches have been used by the project this quarter?
                    <br />
                    3. What needs to be done over or differently? Describe corrective actions taken 
                    if appropriate
                    <br />
                    4. What surprises did the team have to deal with?
                    <br />
                    5. What project circumstances were not anticipated?
                    <br />
                    6. How was communication of the project? Any suggestions for improvement? 
                    </asp:Label>
                </div>
                <br />
                <asp:UpdatePanel ID="UpdatePanel5" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                        <asp:TextBox ID="LessonsTextBox" runat="server" TextMode="MultiLine" 
                            Height="350px" Width="900px" CssClass="MText" 
                            onKeyUp="javascript:Count(this,3000,this.form.counter3);" 
                            onChange="javascript:Count(this,3000,this.form.counter3);"></asp:TextBox>
                        <br />
                        <div style="float:left; padding:.3em 0 0 6em;">
                        <asp:Label ID="Label25" runat="server" CssClass="GuidingQuestions">
                            You have <input readonly="readonly" type="text" name="counter3" 
                            size="4" maxlength="4" value="<%= (3000 - LessonsTextBox.Text.Length) %>"/> 
                            characters remaining.
                        </asp:Label>
                        </div>
                        <div style="float:right; padding:.3em 6em 0 0;">
                            <asp:Button ID="LessonButton" runat="server" Text="Save" 
                                OnClick="LessonButton_Click" />
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </Content>
        </asp:AccordionPane>
<%--======================================================================================================== --%>
        <asp:AccordionPane ID="FinancialSummaryPane" runat="server">
            <Header>Cumulative Financial Summary</Header>
            <Content>
                <div style="text-align:left; padding:0 6em 0 27em;">
                    <asp:Label ID="Label87" runat="server" Text="Instructions" Font-Italic="true" 
                        CssClass="GuidingQuestions" ForeColor="#0055cc"></asp:Label>
                    <br /><br /> 
                    <asp:Label ID="Label88" runat="server" CssClass="GuidingQuestions">
                    Refer to the latest delivery overview for the financial information required.
                    </asp:Label>
                </div>
                <br />
                <asp:UpdatePanel ID="FinancialUpdatePanel" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <div style="text-align:center;">
                        <div style="width:30%; margin-left:auto; margin-right:auto; text-align:left;">
                            <asp:Table ID="CFSTable" runat="server">
                                <asp:TableRow>
                                    <asp:TableCell>
                                        <asp:Label ID="Label26" runat="server" Text="Approved Budget"></asp:Label>
                                    </asp:TableCell>
                                    <asp:TableCell>
                                        <asp:TextBox ID="ApprovedBudgetTextBox" runat="server" CssClass="MText"></asp:TextBox>
                                    </asp:TableCell>
                                </asp:TableRow>
                                <asp:TableRow>
                                    <asp:TableCell>
                                        <asp:Label ID="Label29" runat="server">
                                            Total (Disbursements + Commitments)
                                        </asp:Label>
                                    </asp:TableCell>
                                    <asp:TableCell>
                                        <asp:TextBox ID="TotalTextBox" runat="server" CssClass="MText"></asp:TextBox>
                                    </asp:TableCell>
                                </asp:TableRow>
                                <asp:TableRow>
                                    <asp:TableCell>
                                        <asp:Label ID="Label52" runat="server" Text="Balance"></asp:Label>
                                    </asp:TableCell>
                                    <asp:TableCell>
                                        <asp:TextBox ID="BalanceTextBox" runat="server" CssClass="MText"></asp:TextBox>
                                    </asp:TableCell>
                                </asp:TableRow>
                                <asp:TableRow>
                                    <asp:TableCell>
                                        <asp:Label ID="Label53" runat="server">
                                            % Delivery (Against Approved Budget)
                                        </asp:Label>
                                    </asp:TableCell>
                                    <asp:TableCell>
                                        <asp:TextBox ID="DeliveryTextBox" runat="server" CssClass="MText"></asp:TextBox>
                                    </asp:TableCell>
                                </asp:TableRow>
                                <asp:TableRow>
                                    <asp:TableCell></asp:TableCell>
                                    <asp:TableCell>
                                        <asp:Button ID="CFSButton" runat="server" Text="Save" 
                                            OnClick="CFSButton_Click" />
                                    </asp:TableCell>
                                </asp:TableRow>
                            </asp:Table>
                        </div>
                    </div>
                </ContentTemplate>
                </asp:UpdatePanel>
            </Content>
        </asp:AccordionPane>
<%--======================================================================================================== --%>
        <asp:AccordionPane ID="AcronymsPane" runat="server">
            <Header>List Of Acronyms</Header>
            <Content>
                <div style="text-align:left; padding:0 6em 0 27em;">
                    <asp:Label ID="Label93" runat="server" Text="Instructions" Font-Italic="true" 
                        CssClass="GuidingQuestions" ForeColor="#0055cc"></asp:Label>
                    <br /><br /> 
                    <asp:Label ID="Label94" runat="server" CssClass="GuidingQuestions">
                    Give a list of all the acronyms used.
                    </asp:Label>
                </div>
                <br />
                <asp:UpdatePanel ID="AcronymsPanel" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                        <asp:TextBox ID="AcronymsTxbx" runat="server" Height="350px" Width="400px" 
                        TextMode="MultiLine" CssClass="MText"></asp:TextBox>
                        <br />
                        <div style="float:right; padding:.3em 6em 0 0;">
                            <asp:Button ID="AcronymBtn" runat="server" Text="Save" OnClick="AcronymBtn_Click" />
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </Content>
        </asp:AccordionPane>
<%--======================================================================================================== --%>
      </Panes>
    </asp:Accordion>
    <br />
    <asp:Table ID="Table5" runat="server" CssClass="style1">
        <asp:TableRow>
            <asp:TableCell style="text-align:left;">
                <asp:Label ID="Label17" runat="server" Text="Comment:"></asp:Label>
                <%--<br />
                <asp:Button ID="ProjectCommentButton" runat="server" Text="Save" 
                        OnClick="ProjectCommentButton_Click" />--%>
                    <br /><asp:TextBox ID="ProjectCommentTextBox" runat="server" TextMode="MultiLine" 
                        Height="50px" Width="200px" CssClass="MText"></asp:TextBox>
            </asp:TableCell>
        </asp:TableRow>
    </asp:Table>
        <br />
        <div style="float:left;">
            <div style="float:left;">
                <asp:Button ID="ReturnButton" runat="server" Text="Return to Programme" 
                    OnClick="ReturnButton_Click" />
            </div>
            <div style="float:right;">
                <asp:Button ID="Return2ProjectButton" runat="server" Text="Return to Project" 
                    OnClick="Return2ProjectButton_Click" />
            </div>
        </div>
        <div style="float:right;">
            <asp:Button ID="ArchiveButton" runat="server" Text="Archive Report" 
                OnClick="ArchiveButton_Click" />
        </div>

        <asp:UpdatePanel ID="InProgressUpdatePanel" runat="server" UpdateMode="Always">
            <ContentTemplate>
            </ContentTemplate>
        </asp:UpdatePanel>
        <asp:UpdatePanelAnimationExtender ID="UpdatePanelAnimationExtender3" runat="server" 
            BehaviorID="animation" TargetControlID="InProgressUpdatePanel">
            <Animations>
                <OnUpdating>
                    <Parallel duration="0">
                        <%-- place the update progress div over the gridview control --%>
                        <ScriptAction Script="onUpdating();" />
                    </Parallel>
                </OnUpdating>
                <OnUpdated>
                    <Parallel duration="0">
                        <%--find the update progress div and place it over the gridview control--%>
                        <ScriptAction Script="onUpdated();" />
                    </Parallel>
                </OnUpdated>
            </Animations>
        </asp:UpdatePanelAnimationExtender>
        <div id="updateProgressDiv" style="background-color:#CF4342; display:none; position:fixed;
            z-index:100; top:50%; left:50%;">
            <span style="color:#fff; margin:3px">Please Wait ...</span>
        </div>

</asp:Content>
